<template>
  <header class="py-4">
    <div class="container">
      <div class="row flex-nowrap justify-content-between align-items-center">
        <div class="col-4 pt-1">
          <a class="text-light" href="#">
            <img src="../assets/img/logo.png" alt="">
          </a>
        </div>
        <div class="col-8 text-right" id="header_title">
          <span class="blog-header-logo text-light">Cyberspace Security Knowledge Graph</span>
        </div>
      </div>
      <div id="language">
        <ul class="navbar-nav" style="flex-direction: row">
          <li class="nav-item">
            <a class="nav-link text-light">中文</a>
          </li>
          <li class="nav-item">
            <span class="nav-link text-light">|</span>
          </li>
          <li class="nav-item">
            <a class="nav-link text-light">English</a>
          </li>
        </ul>
      </div>
    </div>
  </header>
</template>

<script>
export default {
  name: 'Header'
}
</script>

<style scoped>
header {
  /*background-color: #0e2d8b;*/
  background: -webkit-linear-gradient(left, #0e2d8b, #cce5ff, #0e2d8b); /* Safari 5.1 - 6 */
  background: -o-linear-gradient(right, #0e2d8b, #cce5ff, #0e2d8b); /* Opera 11.1 - 12*/
  background: -moz-linear-gradient(right, #0e2d8b, #cce5ff, #0e2d8b); /* Firefox 3.6 - 15*/
  background: linear-gradient(to right, #0e2d8b, #cce5ff, #0e2d8b); /* standard */
}

#header_title span {
  font-size: 30px;
  font-weight: bolder;
}

#language .nav-item {
  margin: 0 5px 0;
}

#language {
  position: absolute;
  top: 0;
  right: 1%;
}

#language span {
  font-size: 15px;
  font-weight: normal;
}
</style>
